package com.cskaoyan;

import redis.clients.jedis.Jedis;

/**
 * 创建日期: 2022/08/05 17:30
 *
 * @author ciggar
 */
public class JedisUtils {

    static Jedis jedis;

    static {
        jedis = new Jedis("127.0.0.1",6379);
        jedis.auth("cskaoyan");
    }

    public static Jedis getJedis() {
        return jedis;
    }
}
